<!DOCTYPE html>
<html <?php language_attributes(); ?> >
<head>
    <meta charset="<?php bloginfo('charset'); ?>" />
	<title>
    <?php 
    if(is_home()){
        echo get_bloginfo('name');
        echo " - ";
        echo get_bloginfo('description');
    }else{
        wp_title('');
    }
    ?>
	   <?php
   /*    global $website_title;
       $website_title = "";
	      if (function_exists('is_tag') && is_tag()) {
	       $website_title = single_tag_title("Tag Archive for &quot;",false) . '&quot; - ';}
	      elseif (is_archive()) {
	       $website_title =  wp_title('',false) . ' Archive - ';}
	      elseif (is_search()) {
            $website_title =  'Search for &quot;' . wp_specialchars($s) . '&quot; - '; }
          elseif ( is_front_page() && !is_home() ) {
            $website_title = get_the_title(get_option('page_on_front')) . " - ";} 
          elseif ( is_home() && !is_front_page() ) {
             $website_title = get_the_title(get_option('page_for_posts')) . " - ";}
	      elseif (!(is_404()) && (is_single()) || (is_page())) {
	        $website_title =  wp_title('',false) . ' - '; }
	      elseif (is_404()) {
	         $website_title = 'Not Found - '; }
             
	      if (is_home()) {
	        $website_title = $website_title . get_bloginfo('name') . ' - ' . get_bloginfo('description'); }
	      else {
	        $website_title = $website_title . get_bloginfo('name'); }
            
	      if ($paged>1) {
            $website_title = $website_title . ' - page '. $paged; }
       echo $website_title;
	  */ ?>
	</title>
    <!--[if lte IE 8]>
        <meta http-equiv="X-UA-Compatible" content="IE=8" />
		<script src="<?php bloginfo('template_url'); ?>/js/html5.js"></script>
	<![endif]-->
    <!-- Add jQuery library -->
    <script type="text/javascript" src='<?php bloginfo('template_url'); ?>/js/jquery.min.js'></script>

	<link rel="pingback" type="text/css" href="<?php bloginfo('pingback_url'); ?>"/>
    
    <?php wp_head(); ?>
    <link rel="shortcut icon" href="<?php bloginfo('template_url'); ?>/images/favicon-png.ico" />
     <!-- Begin jScrollPane -->
     <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jscrollpane/mwheelIntent.js"></script>
     <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jscrollpane/jquery.mousewheel.js"></script>
     <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jscrollpane/jquery.jscrollpane.min.js"></script>
     <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/css/jquery.jscrollpane.css" />
      <!-- End jScrollPane -->
      
      
      <!--  JW Player -->
      <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jwplayer.js"></script>
    <script type="text/javascript">
        function loadMovie(divLoad, name) {
              jwplayer(divLoad).setup({
               'flashplayer': '<?php echo get_bloginfo('template_url');?>/js/player.swf',
               'file': name,
               'image': '<?php echo get_bloginfo('template_url');?>/js/jwplayer_skin/preview.jpg',
               'width':'810',
               'height':'590',
               'controlbar': 'bottom',
               'autostart':"false",
               'dock': 'false',
			   'playlist': 'false',
               'allowscriptaccess': 'never',
			   'skin': '<?php echo get_bloginfo('template_url');?>/js/jwplayer_skin/lfdhvideo.zip'
              });
        }
    </script>
      <!-- End JW Player -->
      
      <!--  anythingslider -->
      <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/swfobject.js"></script>
      <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/css/anything_slider/anythingslider.css" />
      <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.anythingslider.js"></script>
      <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.anythingslider.video.js"></script>
      <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/css/anything_slider/theme-minimalist-round.css" />
      <!-- End anythingslider -->
      
      
       <!-- Begin Main-jquery : menu -->
    <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/main-jquery.js"></script>
    <!-- End Main-jquery -->
    <!--  hoverflow  for Menu amination -->
    <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.hoverflow.min.js"></script>
    <!--  End hoverflow -->
    
   	<link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>"/>
    <!--[if IE 9]>
        <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/ie9.css"/>
	<![endif]-->
    <!--[if (gte IE 6)&(lte IE 8)]>
        <script src="<?php bloginfo('template_url'); ?>/js/selectivizr.js"></script>
        <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/ie-lte8.css"/>
    <![endif]-->
    <?php include(TEMPLATEPATH . '/lib/functions/safari_get_browser.php');?>
</head>
<body <?php body_class(); ?>>
<!-- facebook like-->
<div id="fb-root"></div>
<script type="text/javascript">
    (function(d, s, id) {
        var js, fjs = d.getElementsByTagName(s)[0];
        if (d.getElementById(id)) return;
        js = d.createElement(s); js.id = id;
        js.src = "//connect.facebook.net/fr_FR/all.js#xfbml=1";
        fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));
</script>

<div class="wrapper">